<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:background-image="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
<title>麻将社区Title111111</title>
    <link rel="stylesheet" href="css/bootstrap.css">
    <link rel="stylesheet" href="css/bootstrap-theme.css">
    <script src="js/bootstrap.js/bootstrap.min.js" type="application/javascript"></script>
    <script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
    <script src="http://cdn.bootcss.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
</head>
<body>
<nav class="navbar navbar-default">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">麻将社区</span>
            </button>
            <a class="navbar-brand" href="#">麻将社区</a>
        </div>

        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <form class="navbar-form navbar-left">
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="搜索问题">
                </div>
                <button type="submit" class="btn btn-default">搜索</button>
            </form>
            <ul class="nav navbar-nav navbar-right">client
                <!--绑定一个登陆地址 2需要添加参数  把需要的参数输入-->
                <!--<li><a href="login.html"  target="_blank">登陆</a></li>-->
                <li th:if="${session.user!=null}">
                    <a href="/publish">发布</a>
                </li>
                <li>
                    <a href="https://github.com/login/oauth/authorize?client_id=1b66d0b190ce1ebb4562&redirect_uri=http://192.168.1.76:8887/callback"
                       target="_blank">登陆</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false" >
                        <span th:text="${session.user.getName()}">测试static</span>
                        <span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="#">消息中心</a></li>
                        <li><a href="#">个人资料</a></li>
                        <li><a href="#">退出登陆</a></li>
                    </ul>
                </li>
                <li th:unless="${session.user==null}"></li>
                <a href="https://github.com/login/oauth/"></a>
            </ul>
        </div>

    </div>

</nav>
</body>
</html>
<!--cafa86a98e8ccb86ccaccd783ad71c3d34457750        1b66d0b190ce1ebb4562-->
<!--https://github.com/login/oauth/authorize?client_id=1b66d0b190ce1ebb4562&redirect_uri=http://127.0.0.1:8887/callback-->
<!--https://github.com/login/oauth/authorize?client_id=984cb22249ebd896c444&redirect_uri=http://127.0.0.1:8887/callback-->
<!--系统之家    mmsn-->